# _*_ coding: utf-8 _*_
"""
Time:     2024/8/20
Author:   2051261
File:     main.py
"""
import asyncio

from extractor.cli import run_task
from mine.project.log import log_manager as logger


async def main():
    await run_task()
    # await asyncio.Event().wait()
    try:
        asyncio.get_event_loop().run_forever()
    except (KeyboardInterrupt, SystemExit):
        pass
    finally:
        asyncio.get_event_loop().close()

if __name__ == '__main__':
    asyncio.run(main())

